package builder;

/**
 * @program: DesignModeProject
 * @description: 抽象建造者
 * @author: Li canzhang
 * @create: 2022-05-15 16:56
 **/
public abstract class HouseBuilder {
    protected House house = new House();

    //建造流程（创建细节）
    public abstract void buildBasic();
    public abstract void buildWalls();
    public abstract void buildroofed();


    //建造房子（组合细节）
    public House buildHouse(){
        return house;
    }
}
